<!--
* @description 
* @fileName tabbar.vue
* @author huangyu
* @date 2023/02/08 10:39:51
!-->
<template>
    <van-tabbar route>
        <van-tabbar-item replace to="/game/zx/exchange" icon="home-o">交易所</van-tabbar-item>
        <van-tabbar-item replace to="/game/zx/booth" icon="diamond-o">我的摊位</van-tabbar-item>
        <van-tabbar-item replace to="/game/zx/bbs" icon="like-o">东方论坛</van-tabbar-item>
        <van-tabbar-item replace to="/game/zx/booth/info" icon="friends-o">我的账号</van-tabbar-item>
        <!-- <van-tabbar-item replace to="/game/zx/admin/app" icon="setting-o" v-if="token&&powerRoleAdmin">后台管理</van-tabbar-item> -->
    </van-tabbar>
</template>

<script>
export default {
    components: {},
    props:{
        active: {
            type: Number,
            default: 0,
        }
    },
    data() {
        return {
            token: this.$store.state.token,
            powerRoleAdmin: this.$power.roleAction('管理员'),
            powerRoleGM: this.$power.roleAction('GM'),
            powerClan: this.$power.roleAction('clan'),
        }
    },
    mounted() {

    },
    methods: {

    },
}
</script>

<style scoped>

</style>